/**
 * 
 */
package kevin.study.zephyr.platform;

import kevin.study.zephyr.internal.DBManager;
import kevin.study.zephyr.internal.DocumentManager;
import kevin.study.zephyr.internal.FormManager;
import kevin.study.zephyr.internal.InternalPlatform;
import kevin.study.zephyr.internal.ItemManager;
import kevin.study.zephyr.internal.ViewManager;

/**
 * 整个平台的facade
 * 
 * @author Kevin.Huang
 * @createtime 2007-9-20
 */
public final class Platform {
	private Platform() {
		super();
	}

	/**
	 * 取得ItemManager
	 * 
	 * @return
	 */
	public static ItemManager getItemManager() {
		return InternalPlatform.getDefault().getItemManager();
	}

	/**
	 * 取得FormManager
	 * 
	 * @return
	 */
	public static FormManager getFormManager() {
		return InternalPlatform.getDefault().getFormManager();
	}

	/**
	 * 取得DocumentManager
	 * 
	 * @return
	 */
	public static DocumentManager getDocumentManager() {
		return InternalPlatform.getDefault().getDocumentManager();
	}

	/**
	 * 取得DBManager
	 * 
	 * @return
	 */
	public static DBManager getDBManager() {
		return InternalPlatform.getDefault().getDBManager();
	}

	/**
	 * 取得ViewManager
	 * 
	 * @return
	 */
	public static ViewManager getViewManager() {
		return InternalPlatform.getDefault().getViewManager();
	}

}
